package com.hziee.mail.dao;

import com.hziee.mail.model.GoodsSwipeImgDirectionaryEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * @author ZX
 */
public interface GoodsSwipeImgDirectionaryRepository extends JpaRepository<GoodsSwipeImgDirectionaryEntity, Integer>, CrudRepository<GoodsSwipeImgDirectionaryEntity, Integer> {


    List<GoodsSwipeImgDirectionaryEntity> findAllByGoodsId(String goodId);
}
